/**
 * 
 */
package mx.netbrain.bean;

import mx.netbrain.dao.InstallDao;
import mx.netbrain.dao.impl.InstallDaoImpl;
import mx.netbrain.model.Install;

/**
 * @author julian
 * 
 */
public class InstallBean {

	private String estructure;
	private String logs;
	private String properties;
	private String storage;
	private Install install = new Install();

	public InstallBean() {
		InstallDao installDao = new InstallDaoImpl();
		install = installDao.findById();
		estructure = install.getEstructure();
		logs = estructure + install.getLogs();
		properties = estructure + install.getProperties();
		storage = estructure + install.getDocuments();
	}

	public String getEstructure() {
		return estructure;
	}

	public void setEstructure(String estructure) {
		this.estructure = estructure;
	}

	public String getLogs() {
		return logs;
	}

	public void setLogs(String logs) {
		this.logs = logs;
	}

	public String getProperties() {
		return properties;
	}

	public void setProperties(String properties) {
		this.properties = properties;
	}

	public String getStorage() {
		return storage;
	}

	public void setStorage(String storage) {
		this.storage = storage;
	}

}
